<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>

import {mapActions, mapGetters} from "vuex";

console.log("%c 无奇不邮", 'font-family: "HarmonyOS_Sans",sans-serif;font-size:32px;color:#409EFF;');
export default {
  name: "app",
  mounted() {
    this.asyncChangeLoading(false);
    this.getServerState();
  },
  methods: {
    ...mapActions({asyncChangeLoading: 'asyncChangeLoading', getServerState: 'server/getServerState'}),
  }, computed: {
    ...mapGetters({loading: "getLoading"})
  }
}
</script>
<style>
#app {
  font-family: "HarmonyOS_Sans", serif;
}

.float-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
}

/*滚动条的宽度*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/*滚动条的滑块*/
::-webkit-scrollbar-thumb {
  background-color: #409EFF;
  border-radius: 3px;
}
</style>